package cst.a112gxl.TeacherPlatform112gxl.iface;

import cst.a112gxl.TeacherPlatform112gxl.listener.AmicoolListener;

/**
 * Created by Administrator on 2017/6/3/003.
 */

public interface AmicoolIface<T> {
    public void login(String username,String password,AmicoolListener<T> l);
    public void reg(String username,String password,String tel,AmicoolListener<T> l);
    public void getList(String mod,int page, String session, AmicoolListener<T> l);
    public void getDetail(String mod, int id,  AmicoolListener<T> l);
    public void iscollect(String mod,int resid, String session, AmicoolListener<T> l);
    public void collect(String mod,int resid, String session, AmicoolListener<T> l);
    public void uncollect(String mod,int resid, String session, AmicoolListener<T> l);
    public void getResultList(String mod,int page,String session, AmicoolListener<T> l);
    public void isfocus(String mod,int idolid, String session, AmicoolListener<T> l);
    public void focus(String mod,int idolid, String session, AmicoolListener<T> l);
    public void unfoucs(String mod,int idolid, String session, AmicoolListener<T> l);
    public void getCollectList(String mod,int page,String sessionID, AmicoolListener<T> l);
    public void getFocustList(String mod,int page,String sessionID, AmicoolListener<T> l);
    public void getFocusArticletList(String mod,int page,String sessionID,int userid, AmicoolListener<T> l);
    }
